package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 冲压电镀件对象 ecd_stamping_plating
 * 
 * @author ruoyi
 * @date 2025-11-09
 */
public class EcdStampingPlating extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 产品ID */
    @Excel(name = "产品ID")
    private Long pid;

    /** 产品类型 */
    @Excel(name = "产品类型")
    private Long ptype;

    /** 料号 */
    @Excel(name = "料号")
    private String partNumber;

    /** 零件名称 */
    @Excel(name = "零件名称")
    private String partName;

    /** 材质 */
    @Excel(name = "材质")
    private String material;

    /** 用量 pcs */
    @Excel(name = "用量 pcs")
    private Long qtyPcs;

    /** 单价 (RMB/PC) */
    @Excel(name = "单价 (RMB/PC)")
    private BigDecimal unitPrice;

    /** 废材单价 (RMB/KG) */
    @Excel(name = "废材单价 (RMB/KG)")
    private BigDecimal scrapUnitPrice;

    /** 料厚 (mm) */
    @Excel(name = "料厚 (mm)")
    private BigDecimal thicknessMm;

    /** 料宽 (mm) */
    @Excel(name = "料宽 (mm)")
    private BigDecimal widthMm;

    /** PITCH (mm) */
    @Excel(name = "PITCH (mm)")
    private BigDecimal pitchMm;

    /** 密度 (g/cm³) */
    @Excel(name = "密度 (g/cm³)")
    private BigDecimal densityGCm3;

    /** 净重 (g) */
    @Excel(name = "净重 (g)")
    private BigDecimal netWeightG;

    /** 损耗率 (%) */
    @Excel(name = "损耗率 (%)")
    private BigDecimal lossRatePct;

    /** 不良率 (%) */
    @Excel(name = "不良率 (%)")
    private BigDecimal defectRatePct;

    /** 其他 */
    @Excel(name = "其他")
    private String otherRemark;

    /** 管理费比例 (%) */
    @Excel(name = "管理费比例 (%)")
    private BigDecimal mgmtRatioPct;

    /** 利润比例 (%) */
    @Excel(name = "利润比例 (%)")
    private BigDecimal profitRatioPct;

    /** 辅材费用 (RMB/PC) */
    @Excel(name = "辅材费用 (RMB/PC)")
    private BigDecimal auxMaterialCost;

    /** 废材回收率 (%) */
    @Excel(name = "废材回收率 (%)")
    private BigDecimal scrapRecycleRatePct;

    /** 冲制数 (PC/次) */
    @Excel(name = "冲制数 (PC/次)")
    private Long punchesPerShot;

    /** 耗料 (KG) */
    @Excel(name = "耗料 (KG)")
    private BigDecimal materialConsumptionKg;

    /** 不良费 (RMB/PC) */
    @Excel(name = "不良费 (RMB/PC)")
    private BigDecimal defectFee;

    /** 材料成本 (RMB/PC) */
    @Excel(name = "材料成本 (RMB/PC)")
    private BigDecimal materialCost;

    /** 管理费 (RMB/PC) */
    @Excel(name = "管理费 (RMB/PC)")
    private BigDecimal mgmtFee;

    /** 利润 (RMB/PC) */
    @Excel(name = "利润 (RMB/PC)")
    private BigDecimal profitFee;

    /** 材料成本合计 (RMB) */
    @Excel(name = "材料成本合计 (RMB)")
    private BigDecimal totalMaterialCost;

    /** 机台型号及吨位 */
    @Excel(name = "机台型号及吨位")
    private String machineModelTonnage;

    /** 成本率 (%) */
    @Excel(name = "成本率 (%)")
    private BigDecimal costRatePct;

    /** 冲速 (SPM) */
    @Excel(name = "冲速 (SPM)")
    private Long punchSpeedSpm;

    /** 分/时 */
    @Excel(name = "分/时")
    private Long minutePerHour;

    /** 效率 (%) */
    @Excel(name = "效率 (%)")
    private BigDecimal efficiencyPct;

    /** 模具维修天数 */
    @Excel(name = "模具维修天数")
    private Long moldRepairDays;

    /** 模具维修费用 (RMB) */
    @Excel(name = "模具维修费用 (RMB)")
    private BigDecimal moldRepairCost;

    /** 二次加工费 (RMB) */
    @Excel(name = "二次加工费 (RMB)")
    private BigDecimal secondaryProcessFee;

    /** 其他 (加工) */
    @Excel(name = "其他 (加工)")
    private String otherProcessRemark;

    /** 加工管理费占比 (%) */
    @Excel(name = "加工管理费占比 (%)")
    private BigDecimal processMgmtRatioPct;

    /** 加工利润占比 (%) */
    @Excel(name = "加工利润占比 (%)")
    private BigDecimal processProfitRatioPct;

    /** 模具维修RMB/PCS */
    @Excel(name = "模具维修RMB/PCS")
    private BigDecimal moldRepairRmbPcs;

    /** 加工不良费 (RMB/PC) */
    @Excel(name = "加工不良费 (RMB/PC)")
    private BigDecimal processDefectFee;

    /** 冲制成本 (RMB/PC) */
    @Excel(name = "冲制成本 (RMB/PC)")
    private BigDecimal punchCost;

    /** 加工管理费 (RMB/PC) */
    @Excel(name = "加工管理费 (RMB/PC)")
    private BigDecimal processMgmtFee;

    /** 加工利润 (RMB/PC) */
    @Excel(name = "加工利润 (RMB/PC)")
    private BigDecimal processProfitFee;

    /** 冲制件成本合计 (RMB) */
    @Excel(name = "冲制件成本合计 (RMB)")
    private BigDecimal totalPunchCost;

    /** 工站名称 */
    @Excel(name = "工站名称")
    private String stationName;

    /** 人力 (人) */
    @Excel(name = "人力 (人)")
    private Long laborHeadcount;

    /** 周期 (S) */
    @Excel(name = "周期 (S)")
    private BigDecimal cycleTimeS;

    /** 穴数 (PCS) */
    @Excel(name = "穴数 (PCS)")
    private Long cavitiesPcs;

    /** 工费率 (RMB/H) */
    @Excel(name = "工费率 (RMB/H)")
    private BigDecimal laborRateRmbH;

    /** 工时 (S) */
    @Excel(name = "工时 (S)")
    private BigDecimal laborTimeS;

    /** 人工费 (RMB/PC) */
    @Excel(name = "人工费 (RMB/PC)")
    private BigDecimal laborFee;

    /** 包装费 (RMB/PC) */
    @Excel(name = "包装费 (RMB/PC)")
    private BigDecimal packingFee;

    /** 运输费 (RMB/PC) */
    @Excel(name = "运输费 (RMB/PC)")
    private BigDecimal transportFee;

    /** 未电镀总成本 (RMB/PC) */
    @Excel(name = "未电镀总成本 (RMB/PC)")
    private BigDecimal totalCostBeforePlating;

    /** 电镀后总成本 (RMB/PC) */
    @Excel(name = "电镀后总成本 (RMB/PC)")
    private BigDecimal totalCostAfterPlating;

    /** 冲压产能 (PCS/H) */
    @Excel(name = "冲压产能 (PCS/H)")
    private BigDecimal punchCapacityPcsH;

    /** 全局唯一标识 */
    @Excel(name = "全局唯一标识")
    private String uid;

    /** 更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date updateDate;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate;

    /** 删除时间 */
    private Date deleteDate;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setPid(Long pid) 
    {
        this.pid = pid;
    }

    public Long getPid() 
    {
        return pid;
    }

    public void setPtype(Long ptype) 
    {
        this.ptype = ptype;
    }

    public Long getPtype() 
    {
        return ptype;
    }

    public void setPartNumber(String partNumber) 
    {
        this.partNumber = partNumber;
    }

    public String getPartNumber() 
    {
        return partNumber;
    }

    public void setPartName(String partName) 
    {
        this.partName = partName;
    }

    public String getPartName() 
    {
        return partName;
    }

    public void setMaterial(String material) 
    {
        this.material = material;
    }

    public String getMaterial() 
    {
        return material;
    }

    public void setQtyPcs(Long qtyPcs) 
    {
        this.qtyPcs = qtyPcs;
    }

    public Long getQtyPcs() 
    {
        return qtyPcs;
    }

    public void setUnitPrice(BigDecimal unitPrice) 
    {
        this.unitPrice = unitPrice;
    }

    public BigDecimal getUnitPrice() 
    {
        return unitPrice;
    }

    public void setScrapUnitPrice(BigDecimal scrapUnitPrice) 
    {
        this.scrapUnitPrice = scrapUnitPrice;
    }

    public BigDecimal getScrapUnitPrice() 
    {
        return scrapUnitPrice;
    }

    public void setThicknessMm(BigDecimal thicknessMm) 
    {
        this.thicknessMm = thicknessMm;
    }

    public BigDecimal getThicknessMm() 
    {
        return thicknessMm;
    }

    public void setWidthMm(BigDecimal widthMm) 
    {
        this.widthMm = widthMm;
    }

    public BigDecimal getWidthMm() 
    {
        return widthMm;
    }

    public void setPitchMm(BigDecimal pitchMm) 
    {
        this.pitchMm = pitchMm;
    }

    public BigDecimal getPitchMm() 
    {
        return pitchMm;
    }

    public void setDensityGCm3(BigDecimal densityGCm3) 
    {
        this.densityGCm3 = densityGCm3;
    }

    public BigDecimal getDensityGCm3() 
    {
        return densityGCm3;
    }

    public void setNetWeightG(BigDecimal netWeightG) 
    {
        this.netWeightG = netWeightG;
    }

    public BigDecimal getNetWeightG() 
    {
        return netWeightG;
    }

    public void setLossRatePct(BigDecimal lossRatePct) 
    {
        this.lossRatePct = lossRatePct;
    }

    public BigDecimal getLossRatePct() 
    {
        return lossRatePct;
    }

    public void setDefectRatePct(BigDecimal defectRatePct) 
    {
        this.defectRatePct = defectRatePct;
    }

    public BigDecimal getDefectRatePct() 
    {
        return defectRatePct;
    }

    public void setOtherRemark(String otherRemark) 
    {
        this.otherRemark = otherRemark;
    }

    public String getOtherRemark() 
    {
        return otherRemark;
    }

    public void setMgmtRatioPct(BigDecimal mgmtRatioPct) 
    {
        this.mgmtRatioPct = mgmtRatioPct;
    }

    public BigDecimal getMgmtRatioPct() 
    {
        return mgmtRatioPct;
    }

    public void setProfitRatioPct(BigDecimal profitRatioPct) 
    {
        this.profitRatioPct = profitRatioPct;
    }

    public BigDecimal getProfitRatioPct() 
    {
        return profitRatioPct;
    }

    public void setAuxMaterialCost(BigDecimal auxMaterialCost) 
    {
        this.auxMaterialCost = auxMaterialCost;
    }

    public BigDecimal getAuxMaterialCost() 
    {
        return auxMaterialCost;
    }

    public void setScrapRecycleRatePct(BigDecimal scrapRecycleRatePct) 
    {
        this.scrapRecycleRatePct = scrapRecycleRatePct;
    }

    public BigDecimal getScrapRecycleRatePct() 
    {
        return scrapRecycleRatePct;
    }

    public void setPunchesPerShot(Long punchesPerShot) 
    {
        this.punchesPerShot = punchesPerShot;
    }

    public Long getPunchesPerShot() 
    {
        return punchesPerShot;
    }

    public void setMaterialConsumptionKg(BigDecimal materialConsumptionKg) 
    {
        this.materialConsumptionKg = materialConsumptionKg;
    }

    public BigDecimal getMaterialConsumptionKg() 
    {
        return materialConsumptionKg;
    }

    public void setDefectFee(BigDecimal defectFee) 
    {
        this.defectFee = defectFee;
    }

    public BigDecimal getDefectFee() 
    {
        return defectFee;
    }

    public void setMaterialCost(BigDecimal materialCost) 
    {
        this.materialCost = materialCost;
    }

    public BigDecimal getMaterialCost() 
    {
        return materialCost;
    }

    public void setMgmtFee(BigDecimal mgmtFee) 
    {
        this.mgmtFee = mgmtFee;
    }

    public BigDecimal getMgmtFee() 
    {
        return mgmtFee;
    }

    public void setProfitFee(BigDecimal profitFee) 
    {
        this.profitFee = profitFee;
    }

    public BigDecimal getProfitFee() 
    {
        return profitFee;
    }

    public void setTotalMaterialCost(BigDecimal totalMaterialCost) 
    {
        this.totalMaterialCost = totalMaterialCost;
    }

    public BigDecimal getTotalMaterialCost() 
    {
        return totalMaterialCost;
    }

    public void setMachineModelTonnage(String machineModelTonnage) 
    {
        this.machineModelTonnage = machineModelTonnage;
    }

    public String getMachineModelTonnage() 
    {
        return machineModelTonnage;
    }

    public void setCostRatePct(BigDecimal costRatePct) 
    {
        this.costRatePct = costRatePct;
    }

    public BigDecimal getCostRatePct() 
    {
        return costRatePct;
    }

    public void setPunchSpeedSpm(Long punchSpeedSpm) 
    {
        this.punchSpeedSpm = punchSpeedSpm;
    }

    public Long getPunchSpeedSpm() 
    {
        return punchSpeedSpm;
    }

    public void setMinutePerHour(Long minutePerHour) 
    {
        this.minutePerHour = minutePerHour;
    }

    public Long getMinutePerHour() 
    {
        return minutePerHour;
    }

    public void setEfficiencyPct(BigDecimal efficiencyPct) 
    {
        this.efficiencyPct = efficiencyPct;
    }

    public BigDecimal getEfficiencyPct() 
    {
        return efficiencyPct;
    }

    public void setMoldRepairDays(Long moldRepairDays) 
    {
        this.moldRepairDays = moldRepairDays;
    }

    public Long getMoldRepairDays() 
    {
        return moldRepairDays;
    }

    public void setMoldRepairCost(BigDecimal moldRepairCost) 
    {
        this.moldRepairCost = moldRepairCost;
    }

    public BigDecimal getMoldRepairCost() 
    {
        return moldRepairCost;
    }

    public void setSecondaryProcessFee(BigDecimal secondaryProcessFee) 
    {
        this.secondaryProcessFee = secondaryProcessFee;
    }

    public BigDecimal getSecondaryProcessFee() 
    {
        return secondaryProcessFee;
    }

    public void setOtherProcessRemark(String otherProcessRemark) 
    {
        this.otherProcessRemark = otherProcessRemark;
    }

    public String getOtherProcessRemark() 
    {
        return otherProcessRemark;
    }

    public void setProcessMgmtRatioPct(BigDecimal processMgmtRatioPct) 
    {
        this.processMgmtRatioPct = processMgmtRatioPct;
    }

    public BigDecimal getProcessMgmtRatioPct() 
    {
        return processMgmtRatioPct;
    }

    public void setProcessProfitRatioPct(BigDecimal processProfitRatioPct) 
    {
        this.processProfitRatioPct = processProfitRatioPct;
    }

    public BigDecimal getProcessProfitRatioPct() 
    {
        return processProfitRatioPct;
    }

    public void setMoldRepairRmbPcs(BigDecimal moldRepairRmbPcs) 
    {
        this.moldRepairRmbPcs = moldRepairRmbPcs;
    }

    public BigDecimal getMoldRepairRmbPcs() 
    {
        return moldRepairRmbPcs;
    }

    public void setProcessDefectFee(BigDecimal processDefectFee) 
    {
        this.processDefectFee = processDefectFee;
    }

    public BigDecimal getProcessDefectFee() 
    {
        return processDefectFee;
    }

    public void setPunchCost(BigDecimal punchCost) 
    {
        this.punchCost = punchCost;
    }

    public BigDecimal getPunchCost() 
    {
        return punchCost;
    }

    public void setProcessMgmtFee(BigDecimal processMgmtFee) 
    {
        this.processMgmtFee = processMgmtFee;
    }

    public BigDecimal getProcessMgmtFee() 
    {
        return processMgmtFee;
    }

    public void setProcessProfitFee(BigDecimal processProfitFee) 
    {
        this.processProfitFee = processProfitFee;
    }

    public BigDecimal getProcessProfitFee() 
    {
        return processProfitFee;
    }

    public void setTotalPunchCost(BigDecimal totalPunchCost) 
    {
        this.totalPunchCost = totalPunchCost;
    }

    public BigDecimal getTotalPunchCost() 
    {
        return totalPunchCost;
    }

    public void setStationName(String stationName) 
    {
        this.stationName = stationName;
    }

    public String getStationName() 
    {
        return stationName;
    }

    public void setLaborHeadcount(Long laborHeadcount) 
    {
        this.laborHeadcount = laborHeadcount;
    }

    public Long getLaborHeadcount() 
    {
        return laborHeadcount;
    }

    public void setCycleTimeS(BigDecimal cycleTimeS) 
    {
        this.cycleTimeS = cycleTimeS;
    }

    public BigDecimal getCycleTimeS() 
    {
        return cycleTimeS;
    }

    public void setCavitiesPcs(Long cavitiesPcs) 
    {
        this.cavitiesPcs = cavitiesPcs;
    }

    public Long getCavitiesPcs() 
    {
        return cavitiesPcs;
    }

    public void setLaborRateRmbH(BigDecimal laborRateRmbH) 
    {
        this.laborRateRmbH = laborRateRmbH;
    }

    public BigDecimal getLaborRateRmbH() 
    {
        return laborRateRmbH;
    }

    public void setLaborTimeS(BigDecimal laborTimeS) 
    {
        this.laborTimeS = laborTimeS;
    }

    public BigDecimal getLaborTimeS() 
    {
        return laborTimeS;
    }

    public void setLaborFee(BigDecimal laborFee) 
    {
        this.laborFee = laborFee;
    }

    public BigDecimal getLaborFee() 
    {
        return laborFee;
    }

    public void setPackingFee(BigDecimal packingFee) 
    {
        this.packingFee = packingFee;
    }

    public BigDecimal getPackingFee() 
    {
        return packingFee;
    }

    public void setTransportFee(BigDecimal transportFee) 
    {
        this.transportFee = transportFee;
    }

    public BigDecimal getTransportFee() 
    {
        return transportFee;
    }

    public void setTotalCostBeforePlating(BigDecimal totalCostBeforePlating) 
    {
        this.totalCostBeforePlating = totalCostBeforePlating;
    }

    public BigDecimal getTotalCostBeforePlating() 
    {
        return totalCostBeforePlating;
    }

    public void setTotalCostAfterPlating(BigDecimal totalCostAfterPlating) 
    {
        this.totalCostAfterPlating = totalCostAfterPlating;
    }

    public BigDecimal getTotalCostAfterPlating() 
    {
        return totalCostAfterPlating;
    }

    public void setPunchCapacityPcsH(BigDecimal punchCapacityPcsH)
    {
        this.punchCapacityPcsH = punchCapacityPcsH;
    }

    public BigDecimal getPunchCapacityPcsH()
    {
        return punchCapacityPcsH;
    }

    public void setUid(String uid) 
    {
        this.uid = uid;
    }

    public String getUid() 
    {
        return uid;
    }

    public void setUpdateDate(Date updateDate) 
    {
        this.updateDate = updateDate;
    }

    public Date getUpdateDate() 
    {
        return updateDate;
    }

    public void setCreateDate(Date createDate) 
    {
        this.createDate = createDate;
    }

    public Date getCreateDate() 
    {
        return createDate;
    }

    public void setDeleteDate(Date deleteDate) 
    {
        this.deleteDate = deleteDate;
    }

    public Date getDeleteDate() 
    {
        return deleteDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("pid", getPid())
            .append("ptype", getPtype())
            .append("partNumber", getPartNumber())
            .append("partName", getPartName())
            .append("material", getMaterial())
            .append("qtyPcs", getQtyPcs())
            .append("unitPrice", getUnitPrice())
            .append("scrapUnitPrice", getScrapUnitPrice())
            .append("thicknessMm", getThicknessMm())
            .append("widthMm", getWidthMm())
            .append("pitchMm", getPitchMm())
            .append("densityGCm3", getDensityGCm3())
            .append("netWeightG", getNetWeightG())
            .append("lossRatePct", getLossRatePct())
            .append("defectRatePct", getDefectRatePct())
            .append("otherRemark", getOtherRemark())
            .append("mgmtRatioPct", getMgmtRatioPct())
            .append("profitRatioPct", getProfitRatioPct())
            .append("auxMaterialCost", getAuxMaterialCost())
            .append("scrapRecycleRatePct", getScrapRecycleRatePct())
            .append("punchesPerShot", getPunchesPerShot())
            .append("materialConsumptionKg", getMaterialConsumptionKg())
            .append("defectFee", getDefectFee())
            .append("materialCost", getMaterialCost())
            .append("mgmtFee", getMgmtFee())
            .append("profitFee", getProfitFee())
            .append("totalMaterialCost", getTotalMaterialCost())
            .append("machineModelTonnage", getMachineModelTonnage())
            .append("costRatePct", getCostRatePct())
            .append("punchSpeedSpm", getPunchSpeedSpm())
            .append("minutePerHour", getMinutePerHour())
            .append("efficiencyPct", getEfficiencyPct())
            .append("moldRepairDays", getMoldRepairDays())
            .append("moldRepairCost", getMoldRepairCost())
            .append("secondaryProcessFee", getSecondaryProcessFee())
            .append("otherProcessRemark", getOtherProcessRemark())
            .append("processMgmtRatioPct", getProcessMgmtRatioPct())
            .append("processProfitRatioPct", getProcessProfitRatioPct())
            .append("moldRepairRmbPcs", getMoldRepairRmbPcs())
            .append("processDefectFee", getProcessDefectFee())
            .append("punchCost", getPunchCost())
            .append("processMgmtFee", getProcessMgmtFee())
            .append("processProfitFee", getProcessProfitFee())
            .append("totalPunchCost", getTotalPunchCost())
            .append("stationName", getStationName())
            .append("laborHeadcount", getLaborHeadcount())
            .append("cycleTimeS", getCycleTimeS())
            .append("cavitiesPcs", getCavitiesPcs())
            .append("laborRateRmbH", getLaborRateRmbH())
            .append("laborTimeS", getLaborTimeS())
            .append("laborFee", getLaborFee())
            .append("packingFee", getPackingFee())
            .append("transportFee", getTransportFee())
            .append("totalCostBeforePlating", getTotalCostBeforePlating())
            .append("totalCostAfterPlating", getTotalCostAfterPlating())
            .append("punchCapacityPcsH", getPunchCapacityPcsH())
            .append("uid", getUid())
            .append("updateDate", getUpdateDate())
            .append("createDate", getCreateDate())
            .append("deleteDate", getDeleteDate())
            .toString();
    }
}
